package null_object_pattern;

/**
 * @author liwuji
 * @date 2023/12/28
 * @desc
 **/
public class RealCustomer extends AbstractCustomer{

    public RealCustomer(String name) {
        this.name = name;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public boolean isNil() {
        return false;
    }
}
